Compiling PHP-GTK with PHP-5.3.1 with VC9
am 16.01.2010 14:12:38 von Thomas Worm--001485f8efd40a23c4047d47e10a
Content-Type: multipart/alternative; boundary=001485f8efd40a23b1047d47e108
--001485f8efd40a23b1047d47e108
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
Hello,
I tried to compile PHP-GTK 2.0.1 with PHP 5.3.1 on Windows.
The first errors I was able to fix. The patch file with my fixes you find a=
s
an attachment to this mail.
But now I get following error and I don't know why. VC9 doesn't find the
SG-definition, but SAPI.h is included in php_gtk+.c. So what's going wrong
there?
###
C:\php-sdk\php53\vc9\x86\php-
gtk_build>nmake
Microsoft (R) Program Maintenance Utility Version 9.00.21022.08
Copyright (C) Microsoft Corporation. All rights reserved.
cl : Command line warning D9035 : option 'GX' has been deprecated and will
be removed in a future release
cl : Command line warning D9036 : use 'EHsc' instead of 'GX'
php_gtk+.c
c:\php-sdk\php53\vc9\x86\php-5.3.1\zend\zend_execute.h(231) : warning C4018=
:
'>' : signed/unsigned mismatch
ext\gtk+\php_gtk+.c(82) : warning C4013: 'SG' undefined; assuming extern
returning int
ext\gtk+\php_gtk+.c(82) : error C2065: 'request_info' : undeclared
identifier
ext\gtk+\php_gtk+.c(82) : error C2224: left of '.path_translated' must have
struct/union type
ext\gtk+\php_gtk+.c(83) : error C2065: 'request_info' : undeclared
identifier
ext\gtk+\php_gtk+.c(83) : error C2224: left of '.path_translated' must have
struct/union type
ext\gtk+\php_gtk+.c(83) : error C2198: 'g_strdup' : too few arguments for
call
NMAKE : fatal error U1077: '"C:\Program Files\Microsoft Visual Studio
9.0\VC\Bin
\cl.EXE"' : return code '0x2'
Stop.
C:\php-sdk\php53\vc9\x86\php-gtk_build>
###
Do you have a hint what I can do?
Thanks and best regards,
Thomas
--
Mit freundlichen GrüÃen,
Thomas Worm
******************************
Thomas Worm
Handel & Dienstleistung
Postfach 2207
D-90009 Nürnberg
Hausanschrift:
Hintere Cramergasse 3
D-90478 Nürnberg
******************************
Telefon: +49 1803 030505000
Telefax: +49 1803 030505050
Allgemeiner Kontakt:
info@thomas-worm.de
Buchhaltung:
buchhaltung@thomas-worm.de
******************************
Geschäftsführer: Thomas Worm
thomas.worm@thomas-worm.de
Kontoverbindung:
Inhaber: Thomas Worm H. u. D.
Kontonummer: 38 56 38
Bankleitzahl: 760 606 18
Kreditinstitut: Volksbank-Raiffeisenbank Nürnberg eG
Steuernummer: 240-290-21429
USt-ID: DE250745940
ISBN-Verlagsnummer: 3-86749
******************************
--001485f8efd40a23b1047d47e108
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
Hello,
I tried to compile PHP-GTK 2.0.1 with PHP 5.3.1 on Window=
s.
The first errors I was able to fix. The patch file with my fixes you =
find as an attachment to this mail.
But
now I get following error and I don't know why. VC9 doesn't find th=
e
SG-definition, but SAPI.h is included in php_gtk+.c. So what's going
wrong there?
###
C:\php-sdk\php53\vc9\x86\php-
Microsoft (R) Program Maintenance Utility Ve=
rsion 9.00.21022.08
Copyright (C) Microsoft Corporation. All right=
s reserved.
cl : Command line warning D9035 : option 'GX' has been deprecat=
ed and will be removed in a future release
cl : Command line warning D9036 : use 'EHsc' instead of 'GX'=
;
php_gtk+.c
c:\php-sdk\php53\vc9\x86\php-5.3.1\zend\zend_execute.h(2=
31) : warning C4018: '>'Â : signed/unsigned mismatch
ext\=
gtk+\php_gtk+.c(82) : warning C4013: 'SG' undefined; assuming exter=
n returning int
ext\gtk+\php_gtk+.c(82) : error C2065: 'request_info' : undeclared =
identifier
ext\gtk+\php_gtk+.c(82) : error C2224: left of '.path_tra=
nslated' must have struct/union type
ext\gtk+\php_gtk+.c(83) : error=
C2065: 'request_info' : undeclared identifier
ext\gtk+\php_gtk+.c(83) : error C2224: left of '.path_translated' m=
ust have struct/union type
ext\gtk+\php_gtk+.c(83) : error C2198: 'g=
_strdup' : too few arguments for call
NMAKE : fatal error U1077: '"C:\Program Files\Microsoft Visual Stu=
dio 9.0\VC\Bin
\cl.EXE"' : return code '0x2'
Stop. r>
C:\php-sdk\php53\vc9\x86\php-gtk_build>
###
Do you h=
ave a hint what I can do?
Thanks and best regards,
Thomas
--
Mit freun=
dlichen GrüÃen,
Thomas Worm
***************************=
***
Thomas Worm
Handel & Dienstleistung
Postfach 2207
D=
-90009 Nürnberg
Hausanschrift:
Hintere Cramergasse 3
D-90478 Nürnberg
>******************************
Telefon: +49 1803 030505000
Telef=
ax: +49 1803 030505050
Allgemeiner Kontakt:
o@thomas-worm.de">info@thomas-worm.de
Buchhaltung:
buchhaltu=
ng@thomas-worm.de
******************************
Gesch=C3=
=A4ftsführer: Thomas Worm
..de">thomas.worm@thomas-worm.de
Kontoverbindung:
Inhaber: Thomas Worm H. u. D.
Kontonummer: 38 56=
38
Bankleitzahl: 760 606 18
Kreditinstitut: Volksbank-Raiffeisenbank=
Nürnberg eG
Steuernummer: 240-290-21429
USt-ID: DE250745940=
ISBN-Verlagsnummer: 3-86749
******************************
--001485f8efd40a23b1047d47e108--
--001485f8efd40a23c4047d47e10a
Content-Type: text/plain; charset=us-ascii
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
--001485f8efd40a23c4047d47e10a--